import ch.aplu.turtle.*;

public class Tree {
	private Turtle tu;
	
	public Tree() {
		tu = new Turtle();
		tu.hideTurtle();
	}
	
	public void zeichen(int groesse) {
		if(groesse > 2) {
			tu.forward(groesse);
			tu.right(45);
			zeichen(groesse/2);
			tu.left(90);
			zeichen(groesse/2);
			tu.right(45);
			tu.back(groesse);
		}
	}
	
	public static void main(String[] args) {
		Tree t = new Tree();
		t.zeichen(100);
	}
}
